package cn.wolfcode.crm.service;


import cn.wolfcode.crm.domain.Product;
import cn.wolfcode.crm.domain.SafetyMechanism;
import cn.wolfcode.crm.page.PageResult;
import cn.wolfcode.crm.query.ProductQueryObj;

import java.util.List;

public interface IProductService {

    List<Product> list(Long smId, Long sStatus);

    List<Product> selectByPolicyId(Long policyId);

    List<Product> listAll();

    PageResult query(ProductQueryObj qo);

    //查询所有的保险机构
    List selectALL();

    //保存产品信息
    void insert(Product product);

    //更新产品信息
    int update(Product product);

    List<SafetyMechanism> selectSomeInfo();

}
